{dede:page pagesize='40'/}<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<title>自定义表单管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
</head>
<body>
	<table width="98%" cellpadding="1" cellspacing="1" align="center" class="maintable mt-3" style="border:1px solid #dee2e6;border-bottom:none">
		<tr>
			<td class="tbtitletxt" background="../static/web/img/tbg.gif">
				<table width="96%" cellpadding="0" cellspacing="0">
					<tr>
						<td width="30%" height="36" style="padding-left:10px"><a href="diy_add.php" class="btn btn-success btn-sm ml-3">增加新的自定义表单</a></td>
						<td align="right"></td>
					</tr>
				</table>
			</td>
		</tr>
	</table>
	<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable" style="margin-bottom:10px">
		<tr align="center" bgcolor="#F8FCF1" height="26">
			<td>diyid</td>
			<td>名称</td>
			<td>表名</td>
			<td>管理</td>
		</tr>
		{dede:datalist empty='<tr bgcolor="white"><td colspan="4"><center>暂无内容</center></td></tr>'}
		<tr align="center" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';">
			<td>{dede:field.diyid/}</td>
			<td><a href="diy_list.php?action=list&diyid={dede:field.diyid/}">{dede:field.name/}</a></td>
			<td>{dede:field.table/}</td>
			<td>
				<a href="diy_edit.php?diyid={dede:field.diyid/}&dopost=edit" class="btn btn-success btn-sm"><i class="fa fa-pencil-square-o"></i> 修改</a>
				<a href="diy_edit.php?diyid={dede:field.diyid/}&dopost=delete" class="btn btn-success btn-sm"><i class="fa fa-trash"></i> 删除</a>
				<a href="diy_list.php?action=excel&diyid={dede:field.diyid/}" target="_blank" class="btn btn-success btn-sm"><i class="fa fa-share-square"></i> 导出</a>
				<a href="../apps/diy.php?action=list&diyid={dede:field.diyid/}" class="btn btn-success btn-sm" target="_blank"><i class="fa fa-globe"></i> 预览</a>
			</td>
		</tr>
		{/dede:datalist}
	</table>
	<table class="mb-3" width="98%" cellpadding="5" cellspacing="1" align="center" style="margin:auto;border:1px solid #dee2e6">
		<tr>
			<td bgcolor="#f8f8f8" height="36" align="center">{dede:pagelist listsize='6'/}</td>
		</tr>
	</table>
</body>
</html>